package com.augurit.gis.flex;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.augurit.gzcgwsp.csshlj.entity.Csshljcz;
import com.augurit.gzcgwsp.csshlj.entity.ShljYs;
import com.augurit.gzcgwsp.csshlj.service.ICsshljCzService;
import com.augurit.gzcgwsp.csshlj.service.IShljYsService;
import com.augurit.gzcgwsp.hwgz.entity.YwHwShSqb;
import com.augurit.gzcgwsp.hwgz.service.IYwHwShSqbService;
import com.augurit.gzcgwsp.jzfqwczz.entity.YwYnJzfqwczcJbxx;
import com.augurit.gzcgwsp.jzfqwczz.service.IYwYnJzfqwczcJbxxService;
import com.augurit.gzcgwsp.jzfqwczzpfsn.entity.YwYnJzfqwczzPfsn;
import com.augurit.gzcgwsp.jzfqwczzpfsn.service.IYwYnJzfqwczzPfsnService;
import com.augurit.gzcgwsp.qyzz.entity.YwRqQyzzInfo;
import com.augurit.gzcgwsp.qyzz.service.IYwRqQyzzInfoService;
import com.augurit.gzcgwsp.rqqyjyxk.entity.YwRqQyjyxk;
import com.augurit.gzcgwsp.rqqyjyxk.service.IYwRqQyjyxkService;
import com.augurit.gzcgwsp.smartformCsdlwj.entity.YwGgcs;
import com.augurit.gzcgwsp.smartformCsdlwj.entity.YwHwShljqs;
import com.augurit.gzcgwsp.smartformCsdlwj.entity.YwSrCsdlwj;
import com.augurit.gzcgwsp.smartformCsdlwj.entity.YwSrDlzy;
import com.augurit.gzcgwsp.smartformCsdlwj.service.ISmartFormCsdlwjService;
import com.augurit.gzcgwsp.smartformCsdlwj.service.IYwCsdlwjService;
import com.augurit.gzcgwsp.smartformCsdlwj.service.IYwDlzyService;
import com.augurit.gzcgwsp.smartformCsdlwj.service.IYwGgcsServices;
import com.augurit.gzcgwsp.smartformCsdlwj.service.IYwShljqsService;
import com.augurit.gzcgwsp.ssgd.entity.YwRqSsgdSqb;
import com.augurit.gzcgwsp.ssgd.service.IYwRqSsgdSqbService;

public class FlexService {
	
	@Autowired
	private IYwRqQyzzInfoService rqqyzzService;
	
	@Autowired
	private IYwRqSsgdSqbService rqssgdService;
	
	@Autowired
	private IYwHwShSqbService hwggService;
	
	@Autowired
	private IYwRqQyjyxkService rqqyjyxkService;
	
	@Autowired
	private IYwYnJzfqwczcJbxxService ywYnJzfqwczcJbxxService;
	
	@Autowired
	private IYwDlzyService ywDlzyService;
	
	@Autowired
	private IYwYnJzfqwczzPfsnService ywYnJzfqwczzPfsnService;
	
	@Autowired
	private ISmartFormCsdlwjService smartFormCsdlwjService;
	
	@Autowired
	private IYwCsdlwjService ywCsdlwjService;

	@Autowired
	private IYwGgcsServices ywGgcsServices;
	
	@Autowired
	private ICsshljCzService csshljCzService;
	
	@Autowired
	private IYwShljqsService ywShljqsService;
	
	@Autowired
	private IShljYsService shljYsService;
	
	public IYwRqQyzzInfoService getRqqyzzService() {
		return rqqyzzService;
	}

	public void setRqqyzzService(IYwRqQyzzInfoService rqqyzzService) {
		this.rqqyzzService = rqqyzzService;
	}
  
	

	public IYwRqSsgdSqbService getRqssgdService() {
		return rqssgdService;
	}

	public void setRqssgdService(IYwRqSsgdSqbService rqssgdService) {
		this.rqssgdService = rqssgdService;
	}
	
	

	public IYwHwShSqbService getHwggService() {
		return hwggService;
	}

	public void setHwggService(IYwHwShSqbService hwggService) {
		this.hwggService = hwggService;
	}
	
	public IYwRqQyjyxkService getRqqyjyxkService() {
		return rqqyjyxkService;
	}

	public void setRqqyjyxkService(IYwRqQyjyxkService rqqyjyxkService) {
		this.rqqyjyxkService = rqqyjyxkService;
	}

	@SuppressWarnings("unchecked")
	public List<YwRqQyzzInfo> findRqqyzzCase(String acceptNo) throws Exception{
		return rqqyzzService.getByAcceptNo(acceptNo);
	}
	
	@SuppressWarnings("unchecked")
	public List<YwRqSsgdSqb> findRqssgdCase(String acceptNo) throws Exception{
		return rqssgdService.getByAcceptNo(acceptNo);
	}
	
	@SuppressWarnings("unchecked")
	public List<YwHwShSqb> findHwggCase(String acceptNo) throws Exception{
		return hwggService.getByAcceptNo(acceptNo);
	}
	
	@SuppressWarnings("unchecked")
	public List<YwRqQyjyxk> findJyxkCase(String acceptNo) throws Exception{
		return rqqyjyxkService.getByAcceptNo(acceptNo);
	}

	@SuppressWarnings("unchecked")
    public List<YwYnJzfqwczcJbxx> findJzfqwczcCase(String acceptNo) throws Exception{
		return ywYnJzfqwczcJbxxService.getByAcceptNo(acceptNo);
	}
	
	@SuppressWarnings("unchecked")
	public List<YwYnJzfqwczzPfsn> findJzfqwczzPfsnCase(String acceptNo) throws Exception{
		return ywYnJzfqwczzPfsnService.getByAcceptNo(acceptNo);
	}
	
	//城市道路挖掘
	@SuppressWarnings("unchecked")
	public List<YwSrCsdlwj> findCsdlwjCase(String acceptNo) throws Exception{
		return ywCsdlwjService.getByAcceptNo(acceptNo);
	}
	
	//道路占用
	@SuppressWarnings("unchecked")
	public List<YwSrDlzy> finddlzyCase(String acceptNo) throws Exception{
		return ywDlzyService.getByAcceptNo(acceptNo);
	}
	
	//公厕拆除
	@SuppressWarnings("unchecked")
	public List<YwGgcs> findWCCase(String acceptNo) throws Exception{
		return ywGgcsServices.getByAcceptNo(acceptNo);
//		return ywDlzyService.getWCCaseByAcceptNo(acceptNo);
	}
	
	//城市生活垃圾处置
	@SuppressWarnings("unchecked")
	public List<Csshljcz> findLjcz(String acceptNo) throws Exception{
		return csshljCzService.getByAcceptNo(acceptNo);
	}
	
	//城市生活垃圾清扫
	@SuppressWarnings("unchecked")
	public List<YwHwShljqs> findLjqs(String acceptNo) throws Exception{
		return ywShljqsService.getByAcceptNo(acceptNo);
	}
	
	//水域城市生活垃圾清扫
	@SuppressWarnings("unchecked")
	public List<ShljYs> findLjqsSy(String acceptNo) throws Exception{
		return shljYsService.getByAcceptNo(acceptNo);
	}
}
